<!DOCTYPE html> 
<html>
	<head>
		<meta charset="UTF-8">
		<title>{$data.agent_name}</title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link rel="stylesheet" href="__PUBLIC__/static/wx/css/iconfont.css" />
		<link rel="stylesheet" href="__PUBLIC__/static/wx/css/style.css" />
		<link rel="stylesheet" href="__PUBLIC__/static/wx/css/new.css" /> 
		<script src="__INDEX__/js/mui.min.js"></script>
		<link href="__INDEX__/css/mui.min.css" rel="stylesheet" />
	</head>
	<style>
		.jianjie img{
			margin-left: -10px;
		}
		.mui-bar-nav,.gerzl_btn a{
    	    background-color: #01aaed;
	    }
	</style>
	<body>
		<header class="mui-bar mui-bar-nav">
			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
			<h1 class="mui-title">商家详情</h1>
		</header>
		<div class="mui-content" style="background: white; padding: 44px 0 0;">
			<div class="sjp_top">
				<div class="sjp_img"><img src="{$data.logo?$data.logo:'__PUBLIC__/static/index/images/noimage.jpg'}"></div>
				<div class="sjp_info">
					<p class="nam">{$data.agent_name}</p>
					<p class="huod">{$data.action}</p>
					<p class="time"><span class="iconfont icon-naozhong"></span> {$data.start_time}~{$data.end_time}</p>
					<p class="tel"><span class="iconfont icon-shouji"></span><a href="tel:{$data.mobile}">{$data.mobile}</a></p>
				</div>
			</div>
			<div class="sjp_dizbox">
				<div class="iconfont icon-dingwei1" style="width: 30px"></div>
				<div class="sjp_diz">
					<p class="diz"><a href="https://uri.amap.com/marker?position={$data.longitude},{$data.latitude}&name={$data.agent_name}">{$data.address}</a></p> 
				</div> 
			</div> 
			<ul class="sjp_splist clearfix">
				{volist name="goods" id="gd"}
				<li>
					<a href="goodsshow.html?goods_id={$gd.id}">
						<div class="sjp_spimg">
							<img style="height: 9.5rem;" src="{$gd.thumb?$gd.thumb:'__PUBLIC__/static/index/images/noimage.jpg'}">
							<div class="sjp_glj">可抵用<br/><em>{$gd.dk_price}</em><br/>鼓励金</div>
						</div>
						<div class="sjp_spinfobox">
							<div class="sjp_spinfo">
								<p class="nam">{$gd.goods_name}</p> 
							</div>
							<div class="sjp_pri">¥<em>{$gd.sale_price}</em></div>
						</div>
					</a>
				</li> 
				{/volist}
			</ul>
			<div style="margin-left: 20px;font-size: 1.2rem;font-weight: bold;margin-top: 10px;"> 商家简介： </div>
			<div style="margin-left: 20px;font-size: 1rem;font-weight: bold;color: #000000;" class="jianjie">
				{$data.content}
			</div>
			
            {empty name="data.content"}
				<ul class="sjp_splist clearfix">
					<div class="spnone"><img src="__PUBLIC__/static/wx/images/shop_info.png" style="margin-top: -60px;"></div>
				</ul>
			{/empty}
		</div>
	</body>
</html>
